import request from "../../common/request.js"
export function updateServe(data) {
	console.log(data)
  return request({
    url: '/technician/update/serve',
    method: 'POST',
    data
  })
}
// get openid
export function getOpenid(data) {
	console.log(data)
  return request({
    url: '/login/getOpenid',
    method: 'POST',
    data
  })
}
//获取个人信息
export function getMyIndex(data) {
	console.log(data,"打印的my.index")
  return request({
    url: '/technician/detail',
    method: 'POST',
    data
  })
}
//设置头像
export function setAlbum(data) {
	console.log(data)
  return request({
    url: '/my.Index/setAlbum',
    method: 'POST',
    data
  })
}

export function upload(data) {
	console.log(data)
  return request({
    url: '/technician/update/data',
    method: 'POST',
    data
  })
}